<script setup>
import zhCn from 'element-plus/lib/locale/lang/zh-cn'
import { SHORT_NAME } from '@config'

document.title = SHORT_NAME

document.querySelectorAll("link[rel*='icon']").forEach((item) => {
    item.href = '/src/assets/image/logo.png'
})
</script>

<template>
    <el-config-provider :locale="zhCn">
        <router-view v-slot="{ Component }">
            <component :is="Component" />
        </router-view>
    </el-config-provider>
</template>

<style>
#app {
    /* font-family: Avenir, Helvetica, Arial, sans-serif; */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #2c3e50;

    position: relative;
    width: 100vw;
    height: 100vh;
    min-width: 1024px;
    min-height: 100vh;
    overflow: hidden;
    background: #eff3f6;
}
</style>
